﻿#region Copyright © 2013 Paul Miller (Millz)
// All rights are reserved. Reproduction or transmission in whole or in part,
// any form or by any means, electronic, mechanical or otherwise, is prohibited
// without the prior written consent of the copyright owner.
// 
// Filename: RotationBase.cs
// Date:     23/09/2013
// Author:   Paul Miller (Millz)
#endregion
using System;
using System.IO;
using System.Windows.Forms;
using Insanity.Core;
using Insanity.Helpers;
using Insanity.Settings;
using Styx;
using Styx.Common;
using Styx.CommonBot;
using Styx.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.TreeSharp;
using Lua = Styx.WoWInternals.Lua;

namespace Insanity
{
	public abstract class RotationBase
	{

		protected static LocalPlayer Me
		{
			get { return StyxWoW.Me; }
		}

	    public abstract string Revision { get; }

        public abstract WoWSpec KeySpec { get; }

		public abstract Composite Rotation { get; }

		public abstract Composite PreCombat { get; }
        
		public abstract string Name { get; }

	    internal static void OnPulse()
	    {
            if (!StyxWoW.IsInWorld || Me == null || !Me.IsValid || Me.IsDead)
            {
                return;
            }
        }
	}
}
